package com.tjmc.tiomscore.dao;

import com.tjmc.tiomscore.model.TranPtnHwSbn;
import com.tjmc.tiomscore.model.TranPtnHwSbnExample;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface TranPtnHwSbnMapper extends TranPtnHwSuperMapper<TranPtnHwSbn> {
    long countByExample(TranPtnHwSbnExample example);

    int deleteByExample(TranPtnHwSbnExample example);

    int deleteByPrimaryKey(Long id);

    int insert(TranPtnHwSbn record);

    int insertSelective(TranPtnHwSbn record);

    List<TranPtnHwSbn> selectByExample(TranPtnHwSbnExample example);

    TranPtnHwSbn selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") TranPtnHwSbn record, @Param("example") TranPtnHwSbnExample example);

    int updateByExample(@Param("record") TranPtnHwSbn record, @Param("example") TranPtnHwSbnExample example);

    int updateByPrimaryKeySelective(TranPtnHwSbn record);

    int updateByPrimaryKey(TranPtnHwSbn record);
}